package com.lening.organization.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lening.common.base.BaseService;
import com.lening.organization.dto.PeopleDTO;
import com.lening.organization.dto.PostRoleDTO;
import com.lening.organization.po.People;

public interface PeopleService extends BaseService<People, PeopleDTO> {

    Page<People> findPeople(Integer pageNum, Integer pageSize, Page<PeopleDTO> peopleDTO);

    void addUserRole(PostRoleDTO postRoleDTO);
}
